import {baseRequest} from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/hwVehicle/hwvehicletrackcompare/` + url, ...arg)

/**
 * biz_hw_vehicle_track_compareApi接口管理器
 *
 * @author cxk
 * @date  2024/02/02 14:57
 **/
export default {
	// 获取biz_hw_vehicle_track_compare分页
	hwVehicleTrackComparePage(data) {
		return request('page', data, 'get')
	},
	// 获取biz_hw_vehicle_track_compare列表
	hwVehicleTrackCompareList(data) {
		return request('list', data, 'get')
	},
	// 提交biz_hw_vehicle_track_compare表单 edit为true时为编辑，默认为新增
	hwVehicleTrackCompareSubmitForm(data, edit = false) {
		return request(edit ? 'edit' : 'add', data)
	},
	// 删除biz_hw_vehicle_track_compare
	hwVehicleTrackCompareDelete(data) {
		return request('delete', data)
	},
	// 获取biz_hw_vehicle_track_compare详情
	hwVehicleTrackCompareDetail(data) {
		return request('detail', data, 'get')
	}
}
